package com.portal.sso.core.server;


import javax.servlet.http.HttpServletRequest;
import  com.portal.sso.core.model.RequestModel;

public interface RequestServerHandler {
    /**
     * 加载请求模型
     * @param request
     * @return
     */
    RequestModel LoadModel(HttpServletRequest request);

    /**
     * 获取tgt
     * @param request
     * @return
     */
    String GetTgt(HttpServletRequest request);

    /**
     * 获取重定向的url
     * @param request
     * @return
     */
    String GetUrl(HttpServletRequest request);

    /**
     * 获取客户端appid
     * @param request
     * @return
     */
    String GetAppId(HttpServletRequest request);
}
